//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Boney James','Charline McCombs Empire Theatre','San Antonio, TX','Friday','5/10/2024','8:00 PM','6308420','Boney-James-5-10-2024'],['Kamasi Washington','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','5/16/2024','6:30 PM','6306915','Kamasi-Washington-5-16-2024'],['Todd Rundgren','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','6/8/2024','8:00 PM','6218756','Todd-Rundgren-6-8-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','6/13/2024','10:30 AM','6383739','Don-t-Let-the-Pigeon-Drive-the-Bus-6-13-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','6/13/2024','2:00 PM','6383740','Don-t-Let-the-Pigeon-Drive-the-Bus-6-13-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Friday','6/14/2024','10:30 AM','6383741','Don-t-Let-the-Pigeon-Drive-the-Bus-6-14-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Friday','6/14/2024','2:00 PM','6383742','Don-t-Let-the-Pigeon-Drive-the-Bus-6-14-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','6/15/2024','10:30 AM','6383744','Don-t-Let-the-Pigeon-Drive-the-Bus-6-15-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','6/15/2024','2:00 PM','6383746','Don-t-Let-the-Pigeon-Drive-the-Bus-6-15-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Sunday','6/16/2024','3:00 PM','6383747','Don-t-Let-the-Pigeon-Drive-the-Bus-6-16-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','6/20/2024','10:30 AM','6383750','Don-t-Let-the-Pigeon-Drive-the-Bus-6-20-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','6/20/2024','2:00 PM','6383756','Don-t-Let-the-Pigeon-Drive-the-Bus-6-20-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Friday','6/21/2024','10:30 AM','6383757','Don-t-Let-the-Pigeon-Drive-the-Bus-6-21-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Friday','6/21/2024','2:00 PM','6383760','Don-t-Let-the-Pigeon-Drive-the-Bus-6-21-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','6/22/2024','10:30 AM','6383761','Don-t-Let-the-Pigeon-Drive-the-Bus-6-22-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','6/22/2024','2:00 PM','6383764','Don-t-Let-the-Pigeon-Drive-the-Bus-6-22-2024'],['Don't Let the Pigeon Drive the Bus','Charline McCombs Empire Theatre','San Antonio, TX','Sunday','6/23/2024','3:00 PM','6383767','Don-t-Let-the-Pigeon-Drive-the-Bus-6-23-2024'],['Kathleen Madigan','Charline McCombs Empire Theatre','San Antonio, TX','Friday','7/26/2024','8:00 PM','5981999','Kathleen-Madigan-7-26-2024'],['Zach Rushing','Charline McCombs Empire Theatre','San Antonio, TX','Saturday','8/3/2024','7:30 PM','6281537','Zach-Rushing-8-3-2024'],['10cc','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','8/8/2024','7:00 PM','6314776','10cc-8-8-2024'],['Jessica Kirson','Charline McCombs Empire Theatre','San Antonio, TX','Friday','9/20/2024','8:00 PM','6376912','Jessica-Kirson-9-20-2024'],['Cat & Nat Live','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','10/3/2024','8:00 PM','6269194','Cat---Nat-Live-10-3-2024'],['John Lydon (Johnny Rotten)','Charline McCombs Empire Theatre','San Antonio, TX','Friday','10/4/2024','7:30 PM','6311824','John-Lydon--Johnny-Rotten--10-4-2024'],['Marc Maron','Charline McCombs Empire Theatre','San Antonio, TX','Sunday','10/6/2024','7:00 PM','6319623','Marc-Maron-10-6-2024'],['Warren Hill','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','3/13/2070','TBD','4298546','Warren-Hill-3-13-2070'],['Entre Nos Comedy 2020 Live Tour','Charline McCombs Empire Theatre','San Antonio, TX','Thursday','10/16/2070','8:00 PM','4370230','Entre-Nos-Comedy-2020-Live-Tour-10-16-2070'],['NUBIA','Charline McCombs Empire Theatre','San Antonio, TX','Wednesday','6/7/2073','8:00 PM','5605196','NUBIA-6-7-2073']],'Charline McCombs Empire Theatre','http://www.ticketnetwork.com/ticket/Charline-McCombs-Empire-Theatre-events.aspx');